﻿@using Guan.CMS.Web.Models
@{
    var pageTitle = string.IsNullOrWhiteSpace(ViewBag.Title) ? Global.SiteConfig.SiteName : ViewBag.Title + " - " + Global.SiteConfig.SiteName;
    var metaKeywords = string.IsNullOrWhiteSpace(ViewBag.MetaKeywords) ? Global.SiteConfig.MetaKeywords : ViewBag.MetaKeywords;
    var metaDescription = string.IsNullOrWhiteSpace(ViewBag.MetaDescription) ? Global.SiteConfig.MetaDescription : ViewBag.MetaDescription;
}
<!DOCTYPE html>
<html xmlns:wb="http://open.weibo.com/wb">
<head>
	<title>@pageTitle</title>
    <meta charset="utf-8" />
    <meta name="keywords" content="@metaKeywords"/>
    <meta name="description" content="@metaDescription"/>
	@*<link rel="shortcut icon" href="@Url.Content("~/Content/New/images/favicon.ico")" />*@
	<link rel="stylesheet" href="@Url.Content("~/Content/New/base.css")" type="text/css" media="all" />
	<link rel="stylesheet" href="@Url.Content("~/Content/New/blue.css")" type="text/css" media="all" />
	<link rel="stylesheet" href="@Url.Content("~/Content/New/prettyCheckboxes.css")" type="text/css" media="all" />
	<link rel="stylesheet" href="@Url.Content("~/Content/New/fancybox.css")" type="text/css" media="all" />
	<link rel="stylesheet" href="@Url.Content("~/Content/page.css")" type="text/css" media="all" />
	<script type="text/javascript" src="@Url.Content("~/Scripts/jquery-1.8.3.min.js")"></script>
	<script src="@Url.Content("~/Scripts/New/selectivizr.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/New/modernizr.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/New/jcarousel.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/New/simpleFade.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/New/prettyCheckboxes.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/New/fancybox.js")" type="text/javascript"></script>
	<script src="@Url.Content("~/Scripts/New/functions.js")" type="text/javascript"></script>
</head>

<body@(ViewBag.HomePageClass)>
	<!-- Page -->
	<div id="page">
		@Html.Partial("_Header")
			<!-- Content -->
	        @RenderBody()
			<!-- END Content -->
		<!-- Footer -->
		@Html.Partial("_Footer")
		<!-- ENDFooter -->
	</div>
	<!-- END Page -->
	@*<div class="popup login-popup" id="login-popup">
		<a href="#" class="close"></a>
		<h2>Login</h2>
		<form action="#" method="post">
			<input type="text" class="field blink" title="Username" value="Username" />
			<input type="password" class="field blink" title="password" value="password" />
			<input type="checkbox" id="remember-login" checked="checked" /> <label for="remember-login">Remember me</label>

			<input type="submit" class="submit btn-1" value="Login" />	
			<span class="error">Invalid Username or Password!</span>
		</form>
	</div>*@
    <div id="overlay">&nbsp;</div>
    @RenderSection("FooterScripts",false)
</body>
</html>
